#include <iostream>
#include <string>
#include <vector>
#include <complex>

#include "ber.h"
#include "spec.h"
#include "synth.h"
#include "decision.h"

using namespace std;

typedef vector<vector<complex<double> > > SignalSystem;

int main(int argc, char** argv)
{
    SignalSystem system =
    {
        {
            complex<double>(1.1, 0),
            complex<double>(1, 0),
            complex<double>(2, 0),
            complex<double>(3, 0),
        },
        {
            complex<double>(1, 1),
            complex<double>(1, 0),
            complex<double>(2.3, 2),
            complex<double>(3, 0),
        },
    };
    
    cout << system.size() << endl;
    cout << Spec(system, 0.1) << endl;
}

